<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="mvc" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="fmt" uri="http://www.springframework.org/tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>预算台账</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link rel="stylesheet" type="text/css" href="/css/commonTheme/${sessionScope.InterfaceModel}/commonTheme.css"/>

    <link type="text/css" rel="stylesheet" href="/lib/budget/styles.css"/>
    <link type="text/css" rel="stylesheet" href="/lib/pagination/style/pagination.css">
    <script type="text/javascript" charset="utf-8" src="/lib/jQuery-File-Upload-master/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/lib/pagination/js/jquery.pagination.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/lib/layer/layer.js?20201106"></script>
    <script type="text/javascript" charset="utf-8" src="/js/base/tablePage.js"></script>
    <script type="text/javascript" src="/js/base/base.js"></script>
    <script src="/lib/laydate/laydate.js"></script>


    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        table{
            /*width:98%;*/
            border-collapse: collapse;
            margin-left: 7px;
            table-layout: fixed;
        }
        html, body {
           /* height: 100%;*/
            overflow-x: hidden;
            /*overflow-y: hidden;*/
        }
        th{
            /*border: 1px solid #666666;*/
            height: 40px;
            line-height: 40px;
            font-size: 13pt;
            color: rgb(47, 92, 143);
        }
        td{
           /* border: 1px solid #666666;*/
            height: 40px;
            line-height: 40px;
            padding: 0 10px;
            font-size: 13px;
            color: #333333;
            /*溢出隐藏并显示...*/
            word-break: keep-all;
            white-space: nowrap;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-align: center;

        }
        .th1,.th5{
            width: 10%;
        }
        .th3{
        width: 50px;
        text-align: center;
        }
        .th4{
        width: 21%;
        }

        .th6{
        width: 99px;
        }
        /*.th7,.th8,.th9{*/
        /*width: 82px;*/
        /*}*/

        /*.th10{*/
        /*width: 94px;*/
        /*}*/
        /*.th11{*/
        /*width: 103px;*/
        /*}*/
        /*.th12{*/
        /*width: 82px;*/
        /*}*/
        /*.th13{*/
        /*width:  143px;*/
        /*}*/
        /*.th14{*/
        /*width: 93px;*/
        /*}*/
        .p1{
            float: left;
            margin-bottom: 0;
            height: 32px;
            padding-left: 10px;
            font-size: 18px;
            line-height: 32px;
        }
        .p2{
            float: right;
            height: 40px;
            margin-top: 16px;
            margin-right: 278px;
        }
        .clearfix:after {
            display: table;
            content: " ";
            clear: both;
        }
        .clearfix{
            border-bottom:1px solid #000;
           /* margin-bottom: 16px;*/
        }
        .p2 span{
            font-size: 14px;
            background-color: #008cffd9;
            padding: 4px 18px;
            border-radius: 3px;
            color: #fff;
            cursor: pointer;
        }
        .bspan{
            font-size: 14px;
            background-color: #008cffd9;
            padding: 4px 18px;
            border-radius: 3px;
            color: #fff;
            cursor: pointer;
        }

        .main{
            /*margin-right: 1%;*/
            margin-top: 1%;
        }
        .nav-r{
            font-size: 20px;
            color: #FF0000;
            margin-left: 535px;
        }


        .biginput{
            width: 40%;
            height: 32px;
            font-size: 13px;
        }
        .foot{
            font-size: 14pt;
            /* margin-top: 58px; */
            width: 100%;
            padding: 5%;
        }
        .foot p{
            /*margin: 20px 0; */
            border-bottom: 1px solid #000;
            height: 40px;
            /* padding-left: 8px; */
        }

        /*.save span{*/
        /*padding: 6px 54px;*/
        /*font-size: 20px;*/
        /*background-color: #008cffd9;*/
        /*border-radius: 5px;*/
        /*margin-left: 162px;*/
        /*color: #fff;*/
        /*cursor:pointer;*/
        /*}*/

        tr:hover{
            background: #dedede;
            cursor:pointer;
        }
        a{
            text-decoration: none;
            color: rgb(43, 127, 224);
        }
        .dr,.dc,.new,.quanx{
            cursor:pointer;
        }
        .dr:hover,.dc:hover,.new:hover,.quanx:hover,.bspan:hover{
            background-color:#0e6bb7d9;
            color: #fff;
            cursor:pointer;
        }
        /*.quanx,.foot{*/
        /*display: none;*/
        /*}*/
        ul,li{
            list-style: none;
        }
        li{
            margin: 25px 0;
        }
        .del:hover{
            color: red;
        }
        .bianji:hover,.mingxi:hover{
            color: #0d3ef3;
        }
        .td_title1{
            width: 40%;
            height:32px;
        }
        .ml8{
            margin-left:8px;
        }
        #model{
            padding-left:8px;
        }
        input[type="file"]{

            margin-left: 8px;
        }
        .importTable{
            margin:60px auto;
        }
        /*分页样式*/
        .M-box3{
           /* margin-top: 30px;
            position:absolute;
            bottom:10px;
            right: 60px;*/
            float: right;
            margin:20px 18px 12px 0;
            text-align: center;
        }
        input[type="text"]{
            position: relative;
            top:2px;
            width: 82px;
            margin: 0;
            padding-left: 5px;
            height:22px;
            box-sizing: border-box;
            border: 1px solid rgb(221, 221, 221);
            border-image: initial;
            border-radius: 4px;
        }

        .jump-ipt{
            width: 38px;
            height: 38px;
            line-height: 38px;
        }
        #base {
            height:80px;
            position: relative;
        }
        #u518 {
            position: absolute;
            left: 530px;
           /* right:138px;*/
            top: 46px;
            width: 66px;
            height: 25px;
        }
        #u518_input {
            position: absolute;
            left: 0px;
            top: 0px;
            width: 80px;
            height: 27px;
            font-family: 'Arial Normal', 'Arial';
            /* font-weight: 400; */
            font-style: normal;
            font-size: 13px;
            /* text-decoration: none; */
            color: #fff;
            /* text-align: center; */
            background: #2b7edf url(../../img/taisousuo.png) no-repeat 17px 8px;
            border: none;
            padding-left: 20px;
            border-radius: 5px;
        }
        #u519 {
            position: absolute;
            /* right:40px;*/
            left: 622px;
            top: 46px;
            width: 76px;
            height: 25px;
        }
        #u519_input {
            position:absolute;
            left:0px;
            top:0px;
            width: 110px;
            height: 28px;
            font-family:'Arial Normal', 'Arial';
            font-weight:400;
            font-style:normal;
            font-size:13px;
            /*text-decoration:none;*/
            color:#fff;
            /*text-align:center;*/
            background: #0cae32 url(../../img/daochu.png) no-repeat 17px 8px;
            border: none;
            padding-left: 20px;
            border-radius: 5px;
        }
        #u520 {
            position:absolute;
            left:39px;
            top:130px;
            height:200px;
            overflow: auto;
        }
        #u521_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:35px;
        }
        #u521 {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:35px;
            font-family:'Arial Negreta', 'Arial Normal', 'Arial';
            font-weight:700;
            font-style:normal;
            text-align:center;
        }
        #u522 {
            position:absolute;
            left:2px;
            top:10px;
            width:91px;
            word-wrap:break-word;
        }
        #u523_img {
            position:absolute;
            left:0px;
            top:0px;
            width:108px;
            height:35px;
        }
        #u523 {
            position:absolute;
            left:95px;
            top:0px;
            width:108px;
            height:35px;
            font-family:'Arial Negreta', 'Arial Normal', 'Arial';
            font-weight:700;
            font-style:normal;
            text-align:center;
        }
        #u524 {
            position:absolute;
            left:2px;
            top:10px;
            width:104px;
            word-wrap:break-word;
        }
        #u525_img {
            position:absolute;
            left:0px;
            top:0px;
            width:103px;
            height:35px;
        }
        #u525 {
            position:absolute;
            left:203px;
            top:0px;
            width:103px;
            height:35px;
            font-family:'Arial Negreta', 'Arial Normal', 'Arial';
            font-weight:700;
            font-style:normal;
            text-align:center;
        }
        #u526 {
            position:absolute;
            left:2px;
            top:10px;
            width:99px;
            word-wrap:break-word;
        }
        #u527_img {
            position:absolute;
            left:0px;
            top:0px;
            width:114px;
            height:35px;
        }
        #u527 {
            position:absolute;
            left:306px;
            top:0px;
            width:114px;
            height:35px;
            font-family:'Arial Negreta', 'Arial Normal', 'Arial';
            font-weight:700;
            font-style:normal;
            text-align:center;
        }
        #u528 {
            position:absolute;
            left:2px;
            top:10px;
            width:110px;
            word-wrap:break-word;
        }
        #u529_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:35px;
        }
        #u529 {
            position:absolute;
            left:420px;
            top:0px;
            width:95px;
            height:35px;
            font-family:'Arial Negreta', 'Arial Normal', 'Arial';
            font-weight:700;
            font-style:normal;
            text-align:center;
        }
        #u530 {
            position:absolute;
            left:2px;
            top:10px;
            width:91px;
            word-wrap:break-word;
        }
        #u531_img {
            position:absolute;
            left:0px;
            top:0px;
            width:105px;
            height:35px;
        }
        #u531 {
            position:absolute;
            left:515px;
            top:0px;
            width:105px;
            height:35px;
            font-family:'Arial Negreta', 'Arial Normal', 'Arial';
            font-weight:700;
            font-style:normal;
            text-align:center;
        }
        #u532 {
            position:absolute;
            left:2px;
            top:10px;
            width:101px;
            word-wrap:break-word;
        }
        #u533_img {
            position:absolute;
            left:0px;
            top:0px;
            width:106px;
            height:35px;
        }
        #u533 {
            position:absolute;
            left:620px;
            top:0px;
            width:106px;
            height:35px;
            font-family:'Arial Negreta', 'Arial Normal', 'Arial';
            font-weight:700;
            font-style:normal;
            text-align:center;
        }
        #u534 {
            position:absolute;
            left:2px;
            top:10px;
            width:102px;
            word-wrap:break-word;
        }
        #u535_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:34px;
        }
        #u535 {
            position:absolute;
            left:0px;
            top:35px;
            width:95px;
            height:34px;
            text-align:center;
        }
        #u536 {
            position:absolute;
            left:2px;
            top:10px;
            width:91px;
            word-wrap:break-word;
        }
        #u537_img {
            position:absolute;
            left:0px;
            top:0px;
            width:108px;
            height:34px;
        }
        #u537 {
            position:absolute;
            left:95px;
            top:35px;
            width:108px;
            height:34px;
            text-align:center;
        }
        #u538 {
            position:absolute;
            left:2px;
            top:10px;
            width:104px;
            word-wrap:break-word;
        }
        #u539_img {
            position:absolute;
            left:0px;
            top:0px;
            width:103px;
            height:34px;
        }
        #u539 {
            position:absolute;
            left:203px;
            top:35px;
            width:103px;
            height:34px;
            text-align:center;
        }
        #u540 {
            position:absolute;
            left:2px;
            top:9px;
            width:99px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u541_img {
            position:absolute;
            left:0px;
            top:0px;
            width:114px;
            height:34px;
        }
        #u541 {
            position:absolute;
            left:306px;
            top:35px;
            width:114px;
            height:34px;
            text-align:center;
        }
        #u542 {
            position:absolute;
            left:2px;
            top:9px;
            width:110px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u543_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:34px;
        }
        #u543 {
            position:absolute;
            left:420px;
            top:35px;
            width:95px;
            height:34px;
            text-align:center;
        }
        #u544 {
            position:absolute;
            left:2px;
            top:9px;
            width:91px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u545_img {
            position:absolute;
            left:0px;
            top:0px;
            width:105px;
            height:34px;
        }
        #u545 {
            position:absolute;
            left:515px;
            top:35px;
            width:105px;
            height:34px;
            text-align:center;
        }
        #u546 {
            position:absolute;
            left:2px;
            top:10px;
            width:101px;
            word-wrap:break-word;
        }
        #u547_img {
            position:absolute;
            left:0px;
            top:0px;
            width:106px;
            height:34px;
        }
        #u547 {
            position:absolute;
            left:620px;
            top:35px;
            width:106px;
            height:34px;
            text-align:center;
        }
        #u548 {
            position:absolute;
            left:2px;
            top:10px;
            width:102px;
            word-wrap:break-word;
        }
        #u549_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:40px;
        }
        #u549 {
            position:absolute;
            left:0px;
            top:69px;
            width:95px;
            height:40px;
            text-align:center;
        }
        #u550 {
            position:absolute;
            left:2px;
            top:12px;
            width:91px;
            word-wrap:break-word;
        }
        #u551_img {
            position:absolute;
            left:0px;
            top:0px;
            width:108px;
            height:40px;
        }
        #u551 {
            position:absolute;
            left:95px;
            top:69px;
            width:108px;
            height:40px;
            text-align:center;
        }
        #u552 {
            position:absolute;
            left:2px;
            top:12px;
            width:104px;
            word-wrap:break-word;
        }
        #u553_img {
            position:absolute;
            left:0px;
            top:0px;
            width:103px;
            height:40px;
        }
        #u553 {
            position:absolute;
            left:203px;
            top:69px;
            width:103px;
            height:40px;
            text-align:center;
        }
        #u554 {
            position:absolute;
            left:2px;
            top:12px;
            width:99px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u555_img {
            position:absolute;
            left:0px;
            top:0px;
            width:114px;
            height:40px;
        }
        #u555 {
            position:absolute;
            left:306px;
            top:69px;
            width:114px;
            height:40px;
            text-align:center;
        }
        #u556 {
            position:absolute;
            left:2px;
            top:12px;
            width:110px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u557_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:40px;
        }
        #u557 {
            position:absolute;
            left:420px;
            top:69px;
            width:95px;
            height:40px;
            text-align:center;
        }
        #u558 {
            position:absolute;
            left:2px;
            top:12px;
            width:91px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u559_img {
            position:absolute;
            left:0px;
            top:0px;
            width:105px;
            height:40px;
        }
        #u559 {
            position:absolute;
            left:515px;
            top:69px;
            width:105px;
            height:40px;
            text-align:center;
        }
        #u560 {
            position:absolute;
            left:2px;
            top:12px;
            width:101px;
            word-wrap:break-word;
        }
        #u561_img {
            position:absolute;
            left:0px;
            top:0px;
            width:106px;
            height:40px;
        }
        #u561 {
            position:absolute;
            left:620px;
            top:69px;
            width:106px;
            height:40px;
            text-align:center;
        }
        #u562 {
            position:absolute;
            left:2px;
            top:12px;
            width:102px;
            word-wrap:break-word;
        }
        #u563_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:39px;
        }
        #u563 {
            position:absolute;
            left:0px;
            top:109px;
            width:95px;
            height:39px;
            text-align:center;
        }
        #u564 {
            position:absolute;
            left:2px;
            top:12px;
            width:91px;
            word-wrap:break-word;
        }
        #u565_img {
            position:absolute;
            left:0px;
            top:0px;
            width:108px;
            height:39px;
        }
        #u565 {
            position:absolute;
            left:95px;
            top:109px;
            width:108px;
            height:39px;
            text-align:center;
        }
        #u566 {
            position:absolute;
            left:2px;
            top:12px;
            width:104px;
            word-wrap:break-word;
        }
        #u567_img {
            position:absolute;
            left:0px;
            top:0px;
            width:103px;
            height:39px;
        }
        #u567 {
            position:absolute;
            left:203px;
            top:109px;
            width:103px;
            height:39px;
            text-align:center;
        }
        #u568 {
            position:absolute;
            left:2px;
            top:12px;
            width:99px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u569_img {
            position:absolute;
            left:0px;
            top:0px;
            width:114px;
            height:39px;
        }
        #u569 {
            position:absolute;
            left:306px;
            top:109px;
            width:114px;
            height:39px;
            text-align:center;
        }
        #u570 {
            position:absolute;
            left:2px;
            top:12px;
            width:110px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u571_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:39px;
        }
        #u571 {
            position:absolute;
            left:420px;
            top:109px;
            width:95px;
            height:39px;
            text-align:center;
        }
        #u572 {
            position:absolute;
            left:2px;
            top:12px;
            width:91px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u573_img {
            position:absolute;
            left:0px;
            top:0px;
            width:105px;
            height:39px;
        }
        #u573 {
            position:absolute;
            left:515px;
            top:109px;
            width:105px;
            height:39px;
            text-align:center;
        }
        #u574 {
            position:absolute;
            left:2px;
            top:12px;
            width:101px;
            word-wrap:break-word;
        }
        #u575_img {
            position:absolute;
            left:0px;
            top:0px;
            width:106px;
            height:39px;
        }
        #u575 {
            position:absolute;
            left:620px;
            top:109px;
            width:106px;
            height:39px;
            text-align:center;
        }
        #u576 {
            position:absolute;
            left:2px;
            top:12px;
            width:102px;
            word-wrap:break-word;
        }
        #u577_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:39px;
        }
        #u577 {
            position:absolute;
            left:0px;
            top:148px;
            width:95px;
            height:39px;
            text-align:center;
        }
        #u578 {
            position:absolute;
            left:2px;
            top:12px;
            width:91px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u579_img {
            position:absolute;
            left:0px;
            top:0px;
            width:108px;
            height:39px;
        }
        #u579 {
            position:absolute;
            left:95px;
            top:148px;
            width:108px;
            height:39px;
            text-align:center;
        }
        #u580 {
            position:absolute;
            left:2px;
            top:12px;
            width:104px;
            word-wrap:break-word;
        }
        #u581_img {
            position:absolute;
            left:0px;
            top:0px;
            width:103px;
            height:39px;
        }
        #u581 {
            position:absolute;
            left:203px;
            top:148px;
            width:103px;
            height:39px;
            text-align:center;
        }
        #u582 {
            position:absolute;
            left:2px;
            top:12px;
            width:99px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u583_img {
            position:absolute;
            left:0px;
            top:0px;
            width:114px;
            height:39px;
        }
        #u583 {
            position:absolute;
            left:306px;
            top:148px;
            width:114px;
            height:39px;
            text-align:center;
        }
        #u584 {
            position:absolute;
            left:2px;
            top:12px;
            width:110px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u585_img {
            position:absolute;
            left:0px;
            top:0px;
            width:95px;
            height:39px;
        }
        #u585 {
            position:absolute;
            left:420px;
            top:148px;
            width:95px;
            height:39px;
            text-align:center;
        }
        #u586 {
            position:absolute;
            left:2px;
            top:12px;
            width:91px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u587_img {
            position:absolute;
            left:0px;
            top:0px;
            width:105px;
            height:39px;
        }
        #u587 {
            position:absolute;
            left:515px;
            top:148px;
            width:105px;
            height:39px;
            text-align:center;
        }
        #u588 {
            position:absolute;
            left:2px;
            top:12px;
            width:101px;
            word-wrap:break-word;
        }
        #u589_img {
            position:absolute;
            left:0px;
            top:0px;
            width:106px;
            height:39px;
        }
        #u589 {
            position:absolute;
            left:620px;
            top:148px;
            width:106px;
            height:39px;
            text-align:center;
        }
        #u590 {
            position:absolute;
            left:2px;
            top:12px;
            width:102px;
            word-wrap:break-word;
        }
        #u591_img {
            position:absolute;
            left:0px;
            top:0px;
            width:515px;
            height:2px;
        }
        #u591 {
            position:absolute;
            left:77px;
            top:534px;
            width:514px;
            height:1px;
        }
        #u592 {
            position:absolute;
            left:2px;
            top:-8px;
            width:510px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u593_img {
            position:absolute;
            left:0px;
            top:0px;
            width:515px;
            height:2px;
        }
        #u593 {
            position:absolute;
            left:77px;
            top:490px;
            width:514px;
            height:1px;
        }
        #u594 {
            position:absolute;
            left:2px;
            top:-8px;
            width:510px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u595_img {
            position:absolute;
            left:0px;
            top:0px;
            width:515px;
            height:2px;
        }
        #u595 {
            position:absolute;
            left:77px;
            top:450px;
            width:514px;
            height:1px;
        }
        #u596 {
            position:absolute;
            left:2px;
            top:-8px;
            width:510px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u597_img {
            position:absolute;
            left:0px;
            top:0px;
            width:515px;
            height:2px;
        }
        #u597 {
            position:absolute;
            left:77px;
            top:402px;
            width:514px;
            height:1px;
        }
        #u598 {
            position:absolute;
            left:2px;
            top:-8px;
            width:510px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u599_img {
            position:absolute;
            left:0px;
            top:0px;
            width:515px;
            height:2px;
        }
        #u599 {
            position:absolute;
            left:77px;
            top:361px;
            width:514px;
            height:1px;
        }
        #u600 {
            position:absolute;
            left:2px;
            top:-8px;
            width:510px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u601_div {
            position:absolute;
            left:0px;
            top:0px;
            width:17px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u601 {
            position:absolute;
            left:39px;
            top:482px;
            width:17px;
            height:18px;
        }
        #u602 {
            position:absolute;
            left:0px;
            top:0px;
            width:17px;
            white-space:nowrap;
        }
        #u603_div {
            position:absolute;
            left:0px;
            top:0px;
            width:9px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u603 {
            position:absolute;
            left:44px;
            top:526px;
            width:9px;
            height:18px;
        }
        #u604 {
            position:absolute;
            left:0px;
            top:0px;
            width:9px;
            white-space:nowrap;
        }
        #u605_div {
            position:absolute;
            left:0px;
            top:0px;
            width:25px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u605 {
            position:absolute;
            left:33px;
            top:442px;
            width:25px;
            height:18px;
        }
        #u606 {
            position:absolute;
            left:0px;
            top:0px;
            width:25px;
            white-space:nowrap;
        }
        #u607_div {
            position:absolute;
            left:0px;
            top:0px;
            width:25px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u607 {
            position:absolute;
            left:34px;
            top:395px;
            width:25px;
            height:18px;
        }
        #u608 {
            position:absolute;
            left:0px;
            top:0px;
            width:25px;
            white-space:nowrap;
        }
        #u609_div {
            position:absolute;
            left:0px;
            top:0px;
            width:25px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u609 {
            position:absolute;
            left:35px;
            top:353px;
            width:25px;
            height:18px;
        }
        #u610 {
            position:absolute;
            left:0px;
            top:0px;
            width:25px;
            white-space:nowrap;
        }
        #u611_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:133px;
            background:inherit;
            background-color:rgba(25, 158, 216, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u611 {
            position:absolute;
            left:271px;
            top:402px;
            width:29px;
            height:133px;
        }
        #u612 {
            position:absolute;
            left:2px;
            top:58px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u613_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:102px;
            background:inherit;
            background-color:rgba(25, 158, 216, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u613 {
            position:absolute;
            left:441px;
            top:433px;
            width:29px;
            height:102px;
        }
        #u614 {
            position:absolute;
            left:2px;
            top:43px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u615_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:45px;
            background:inherit;
            background-color:rgba(255, 102, 102, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u615 {
            position:absolute;
            left:139px;
            top:490px;
            width:29px;
            height:45px;
        }
        #u616 {
            position:absolute;
            left:2px;
            top:14px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u617_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:21px;
            background:inherit;
            background-color:rgba(255, 102, 102, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u617 {
            position:absolute;
            left:300px;
            top:514px;
            width:29px;
            height:21px;
        }
        #u618 {
            position:absolute;
            left:2px;
            top:2px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u619_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:74px;
            background:inherit;
            background-color:rgba(255, 102, 102, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u619 {
            position:absolute;
            left:470px;
            top:461px;
            width:29px;
            height:74px;
        }
        #u620 {
            position:absolute;
            left:2px;
            top:29px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u621_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:155px;
            background:inherit;
            background-color:rgba(25, 158, 216, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u621 {
            position:absolute;
            left:110px;
            top:380px;
            width:29px;
            height:155px;
        }
        #u622 {
            position:absolute;
            left:2px;
            top:70px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u623_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:102px;
            background:inherit;
            background-color:rgba(0, 204, 102, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u623 {
            position:absolute;
            left:168px;
            top:433px;
            width:29px;
            height:102px;
        }
        #u624 {
            position:absolute;
            left:2px;
            top:43px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u625_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:93px;
            background:inherit;
            background-color:rgba(0, 204, 102, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u625 {
            position:absolute;
            left:328px;
            top:442px;
            width:29px;
            height:93px;
        }
        #u626 {
            position:absolute;
            left:2px;
            top:38px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u627_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:34px;
            background:inherit;
            background-color:rgba(0, 204, 102, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u627 {
            position:absolute;
            left:499px;
            top:501px;
            width:29px;
            height:34px;
        }
        #u628 {
            position:absolute;
            left:2px;
            top:9px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u629_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:19px;
            background:inherit;
            background-color:rgba(25, 158, 216, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u629 {
            position:absolute;
            left:661px;
            top:361px;
            width:29px;
            height:19px;
        }
        #u630 {
            position:absolute;
            left:16px;
            top:30px;
            width:87px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u631_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:19px;
            background:inherit;
            background-color:rgba(255, 102, 102, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u631 {
            position:absolute;
            left:661px;
            top:385px;
            width:29px;
            height:19px;
        }
        #u632 {
            position:absolute;
            left:2px;
            top:2px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u633_div {
            position:absolute;
            left:0px;
            top:0px;
            width:29px;
            height:18px;
            background:inherit;
            background-color:rgba(0, 204, 102, 1);
            box-sizing:border-box;
            border-width:1px;
            border-style:solid;
            border-color:rgba(121, 121, 121, 1);
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u633 {
            position:absolute;
            left:661px;
            top:408px;
            width:29px;
            height:18px;
        }
        #u634 {
            position:absolute;
            left:2px;
            top:1px;
            width:25px;
            visibility:hidden;
            word-wrap:break-word;
        }
        #u635_div {
            position:absolute;
            left:0px;
            top:0px;
            width:73px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u635 {
            position:absolute;
            left:8px;
            top:20px;
            width:73px;
            height:18px;
        }
        #u636 {
            position:absolute;
            left:0px;
            top:0px;
            width:73px;
            white-space:nowrap;
        }
        #u637_div {
            position:absolute;
            left:0px;
            top:0px;
            width:59px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u637 {
            position:absolute;
            left:700px;
            top:384px;
            width:59px;
            height:18px;
        }
        #u638 {
            position:absolute;
            left:0px;
            top:0px;
            width:59px;
            white-space:nowrap;
        }
        #u639_div {
            position:absolute;
            left:0px;
            top:0px;
            width:59px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u639 {
            position:absolute;
            left:700px;
            top:408px;
            width:59px;
            height:18px;
        }
        #u640 {
            position:absolute;
            left:0px;
            top:0px;
            width:59px;
            white-space:nowrap;
        }
        #u641 {
            position:absolute;
            left:107px;
            top:12px;
            width:120px;
            height:25px;
        }
        #u631 {
            position:absolute;
            left:107px;
            top:8px;
            width:120px;
            height:25px;
        }
        #u641_input {
            position:absolute;
            left:0px;
            top:0px;
            width:110px;
            height:25px;
            font-family:'Arial Normal', 'Arial';
            font-weight:400;
            font-style:normal;
            font-size:13px;
            text-decoration:none;
            color:#000000;
            text-align:left;
        }
        #u630_input {
            position:absolute;
            left:-8px;
            top:20px;
            width:110px;
            height:25px;
            font-family:'Arial Normal', 'Arial';
            font-weight:400;
            font-style:normal;
            font-size:13px;
            text-decoration:none;
            color:#000000;
            text-align:left;
        }
        #u642_div {
            position:absolute;
            left:0px;
            top:0px;
            width:73px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u636_div {
            position:absolute;
            left:0px;
            top:0px;
            width:73px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u642 {
            position:absolute;
            left:38px;
            top:14px;
            width:73px;
            height:18px;
        }
        #u636 {
            position:absolute;
            left:38px;
            top:34px;
            width:73px;
            height:18px;
        }
        #u643 {
            position:absolute;
            left:0px;
            top:0px;
            width:73px;
            white-space:nowrap;
        }
        #u644 {
            position:absolute;
            left:319px;
            top:12px;
            width:74px;
            height:25px;
        }
        #u644_input {
            position:absolute;
            left:0px;
            top:0px;
            width:74px;
            height:25px;
            font-family:'Arial Normal', 'Arial';
            font-weight:400;
            font-style:normal;
            font-size:13px;
            text-decoration:none;
            color:#000000;
            text-align:left;
        }
        #u645_div {
            position:absolute;
            left:0px;
            top:0px;
            width:73px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u645 {
            position:absolute;
            left:251px;
            top:14px;
            width:73px;
            height:18px;
        }
        #u646 {
            position:absolute;
            left:0px;
            top:0px;
            width:73px;
            white-space:nowrap;
        }
        #u647 {
            position:absolute;
            left:418px;
            top:12px;
            width:74px;
            height:25px;
        }
        #u647_input {
            position:absolute;
            left:0px;
            top:0px;
            width:74px;
            height:25px;
            font-family:'Arial Normal', 'Arial';
            font-weight:400;
            font-style:normal;
            font-size:13px;
            text-decoration:none;
            color:#000000;
            text-align:left;
        }
        #u648_div {
            position:absolute;
            left:0px;
            top:0px;
            width:15px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u648 {
            position:absolute;
            left:397px;
            top:15px;
            width:15px;
            height:18px;
        }
        #u649 {
            position:absolute;
            left:8px;
            top:0px;
            width:15px;
            white-space:nowrap;
        }
        #u650 {
            position: absolute;
            left: 330px;
            top: 46px;
            width: 74px;
            height: 25px;
        }
        #u650_input {
            position:absolute;
            left:0px;
            top:0px;
            width:120px;
            height:25px;
            font-family:'Arial Normal', 'Arial';
            font-weight:400;
            font-style:normal;
            font-size:13px;
            text-decoration:none;
            color:#000000;
            text-align:left;
        }
        #u651_div {
            position:absolute;
            left:0px;
            top:0px;
            width:87px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u651 {
            position: absolute;
            left: 250px;
            top: 50px;
            width: 87px;
            height: 18px;
        }
        #u652 {
            position:absolute;
            left:0px;
            top:0px;
            width:87px;
            white-space:nowrap;
        }
        #u653_div {
            position:absolute;
            left:0px;
            top:0px;
            width:44px;
            height:18px;
            background:inherit;
            background-color:rgba(255, 255, 255, 0);
            border:none;
            border-radius:0px;
            -moz-box-shadow:none;
            -webkit-box-shadow:none;
            box-shadow:none;
        }
        #u653 {
            position:absolute;
            left:38px;
            top:70px;
            width:44px;
            height:18px;
        }
        #u654 {
            position:absolute;
            left:0px;
            top:0px;
            width:44px;
            white-space:nowrap;
        }
        #u655 {
            position:absolute;
            left:107px;
            top:71px;
            width:106px;
            height:22px;
        }
        #u655_input {
            position:absolute;
            left:0px;
            top:0px;
            width:106px;
            height:22px;
            font-family:'Arial Normal', 'Arial';
            font-weight:400;
            font-style:normal;
            font-size:13px;
            text-decoration:none;
            color:#000000;
        }
        #u655_input:disabled {
            color:grayText;
        }
        table{
            border-collapse: collapse;
             width: 100%;
            margin: 0 18px;
            /* margin-left: -46px; */
            table-layout: fixed;
        }
        th{
            /*border: 1px solid #666666;*/
            height: 40px;
            line-height: 40px;
            font-size: 13px;
            color: rgb(47, 92, 143);
        }
        td{
            /*border: 1px solid #666666;*/
            height: 40px;
            line-height: 40px;
            padding: 0 10px;
            font-size: 13px;
            color: #333333;
            /*溢出隐藏并显示...*/
            word-break: keep-all;
            white-space: nowrap;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-align: center;

        }
        /*.th1{*/
        /*width: 60px;*/
        /*}*/
        .th2{
            width: 12%;
        }
        /*.th3{*/
        /*width: 200px;*/
        /*}*/
        /*.th4{*/
            /*width: 8%;*/
        /*}*/
        /*.th6{*/
        /*width: 120px;*/
        /*}*/
        .th7{
            width: 95px;
        }
        tr:hover{
            background: #ccc;
            cursor:pointer;
        }
        .canvas_pie_chart{
            height: 90%;
            width: 90%;
            margin-left: 5%;
            margin-right: 5%;
        }

        .asset_pie_back{
            position: absolute;
            width: 2rem;
            height: 2rem;
            top: 6.5rem;
            left: 0.5rem;
            z-index: 99;
            display: none;
        }
        .inputsmall{
            width: 80px;
            height: 22px;
            text-align: center;
            padding-left: 0px;
        }
        #u641 select, #u631 select{
            width:126px;
            height:25px;
            border-radius: 4px;
            padding-left: 1px;
            box-sizing: border-box;
            border: 1px solid rgb(221, 221, 221);

        }
        #u631 select{
            position:absolute;
            left:-8px;
            top:20px;
            font-family:'Arial Normal', 'Arial';
        }
        .row{
            float:left;
            margin:30px 0px 10px 40px;
        }
        #dbgz_page .jump-ipt{
            width:36px;
            height:36px;
        }
        #warp{
            width:80%;
            margin:0 auto;
            /*overflow: auto;*/
            /*height:290px;*/
            position: relative;
        }
        table td a:hover{
            text-decoration: underline;
            color: #CC2222;
        }
        /*table thead{
            position: fixed;
            z-index: 10;

        }*/
        /*table tbody{
           position: absolute;
            top:35px;
            z-index: 1;
        }*/
        .content{
            position: absolute;
            top:100px;
            left:440px;
            width:200px;
            color:#000;
            font-size: 14px;
        }
        tbody tr:nth-child(2n+1) {
            /* background-color: rgb(246, 247, 249);*/
            background-color: rgb(255, 255, 255);
        }
        tbody tr:nth-child(2n) {
            /*background-color: rgb(255, 255, 255);*/
            background-color: rgb(246, 247, 249);
        }
        #uploadTable tr {
            border-width: 1px;
            border-style: solid;
            border-color: rgb(192, 192, 192);
            border-image: initial;
        }
        #uploadTable tr:hover{
            background-color:#d3e6f9;
        }
        .clearfix:after {
            display: table;
            content: " ";
            clear: both;
        }
        .clearfix{
            border-bottom:1px solid #9e9e9e;
            /*margin-bottom: 16px;*/
            height:34px;
        }
        .div_Img{
            float:left;
            margin-left: 16px;
        }
        .M-box3 .active{
            margin: 0px 3px;
            width: 38px;
            height: 38px;
            line-height: 38px;
            background: #2b7fe0;
            font-size: 12px;
            border: 1px solid #2b7fe0;
            color:#fff;
            text-align:center;
            display: inline-block;
        }
        .M-box3 a{
            margin: 0 3px;
            width: 38px;
            height: 38px;
            line-height: 38px;
            font-size: 12px;
            display: inline-block;
            text-align:center;
            background: #fff;
            border: 1px solid #ebebeb;
            color: #333;
            text-decoration: none;
        }
        .jump-ipt {
            width: 38px;
            height: 38px;
            line-height: 38px;
            text-align: center;
            padding: 0;
        }
        .M-box3 a:hover {
            background: #2b7fe0;
        }
        .th4,.th5{
            text-overflow: clip;
            white-space: normal;
            line-height: 20px;
            word-wrap: break-word;
        }
        .itemDetail{
            position: absolute;
            left: 623px;
            top: 14px;
            width: 80px;
            height: 24px;
            font-family: 'Arial Normal', 'Arial';
            /* font-weight: 400; */
            font-style: normal;
            cursor: pointer;
            font-size: 13px;
            /* text-decoration: none; */
            color: #fff;
            /* text-align: center; */
            background: #2b7edf;
            line-height: 26px;
            text-align: center;
            border: none;
            padding-left: 0px;
            display: none;
            border-radius: 5px;
        }
        /*#u110{*/
            /*position: absolute;*/
            /*left: 512px;*/
            /*top: 12px;*/



        /*}*/
        /*#u110 select{*/
            /*width: 126px;*/
            /*height: 25px;*/
            /*border-radius: 4px;*/
            /*padding-left: 1px;*/
            /*box-sizing: border-box;*/
            /*border: 1px solid rgb(221, 221, 221);*/
        /*}*/
        #u740{
            position: absolute;
            left: 518px;
            top: 14px;
        }
        #u740 select{
            width: 75px;
            height: 22px;
            border-radius: 3px;
        }

    </style>
</head>
<body>
<div class="main">
    <%-- <div class="clearfix">
         <p class="p1">预算执行台账</p>
         <div class="p2">
             &lt;%&ndash;<span class="dc" id="outport">导出</span>&ndash;%&gt;
             &lt;%&ndash;<span  class="dr add" id="inport">导入</span>&ndash;%&gt;
         </div>
     </div>--%>
        <div class="clearfix">
            <div class="div_Img">
                <img src="/img/yszxtz.png" style="vertical-align: middle;" alt="菜单主分类设置">
            </div>
            <p class="p1">预算执行台账</p>

        </div>
    <div id="base" class="">
        <%--<div id="u110" class="ax_default text_field">--%>
            <%--<select name="year" id="year"></select>--%>
        <%--</div>--%>

        <!-- Unnamed (提交按钮) -->


        <!-- Unnamed (提交按钮) -->


        <!-- Unnamed (表格) -->

        <div id="u641" class="ax_default text_field">
            <%--<input id="u641_input" placeholder="" type="text" value="">--%>
            <select name="type">
                <option value="">请输入项目名称</option>
                <%--<option value="" disabled selected style='display:none;'>请输入项目名称</option>--%>
            </select>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u642" class="ax_default label">
            <div id="u642_div" class=""></div>
            <!-- Unnamed () -->
            <div id="u643" class="text" style="visibility: visible;">
                <p><span>项目名称：</span></p>
            </div>
        </div>


        <!-- Unnamed (矩形) -->
        <div id="u635" class="ax_default label">
            <!-- Unnamed () -->
            <div id="u630" class="text" style="visibility: visible;">
                <p><span>申请人部门：</span></p>
            </div>
            <div id="u631" class="ax_default text_field">
                <%--<input id="u630_input" placeholder="请输入部门名称" type="text" value="">--%>
                <select name="type">
                    <option value="">请输入部门名称</option>
                    <%--<option value="" disabled selected style='display:none;'>请输入部门名称</option>--%>
                </select>
            </div>
        </div>
        <div id="u644" class="ax_default text_field">
            <label style="margin-left: 3px;">
                <input type="text" placeholder="请选择日期" id="budgetItemBegintime" class="inputsmall" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
            </label>
        </div>
        <div class="itemDetail">项目详情</div>

        <!-- Unnamed (矩形) -->
        <div id="u645" class="ax_default label">
            <div id="u645_div" class=""></div>
            <!-- Unnamed () -->
            <div id="u646" class="text" style="visibility: visible;">
                <p><span>查询周期：</span></p>
            </div>
        </div>

        <!-- Unnamed (文本框) -->
        <div id="u647" class="ax_default text_field">
            <label style="margin-left: 3px;">
                <input type="text" placeholder="请选择日期" id="budgetItemEndtime" readonly="readonly" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" name="sendTime" style="margin-right: 5px;width:84px;">

            </label>
        </div>
            <div id="u740">
                <select name="year" id="year">
                    <option value="2019">2019年</option>
                </select>
            </div>

        <!-- Unnamed (矩形) -->
        <div id="u648" class="ax_default label">
            <div id="u648_div" class=""></div>
            <!-- Unnamed () -->
            <div id="u649" class="text" style="visibility: visible;">
                <p><span>—</span></p>
            </div>
        </div>

        <!-- Unnamed (文本框) -->
        <div id="u650" class="ax_default text_field">
            <input id="u650_input" placeholder="" type="text" value="" readonly="readonly">
            <a href="javascript:;" class="add4" style="    position: absolute;
    left: 127px;
    width: 30px;">添加</a>
            <a href="javascript:;" style="  position: absolute;
    left: 158px;
    width: 30px;" class="clear">清空</a>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u651" class="ax_default label">
            <div id="u651_div" class=""></div>
            <!-- Unnamed () -->
            <div id="u652" class="text" style="visibility: visible;">
                <p><span>项目申请人：</span></p>
            </div>
        </div>
        <div id="u518" class="ax_default _提交按钮">
            <input id="u518_input" type="button" value="查询">
        </div>
        <div id="u519" class="ax_default _提交按钮">
            <input id="u519_input" type="submit" value="导出Excel">
        </div>
        <!-- Unnamed (矩形) -->

    </div>
    <div id="warp">

        <table  id="uploadTable">
            <thead>
            <tr style="background: none">
                <th class="th3">流水号</th>
                <%--<th></th>--%>
                <th class="th4">流程名称</th>
                <th class="th5">项目名称</th>
                <th class="th6">额度号</th>
                <th class="th7">确认支出</th>
                <th class="th7">预支出金额</th>
                <th class="th6">项目申请人</th>
                <th class="th6">申请人部门</th>
                <th class="th6">状态</th>
                <th class="th6">操作</th>

                <%--<th class="th12">操作</th>--%>
                <%--<th class="th14">日志</th>--%>
            </tr>
            </thead>
            <tbody>

            </tbody>

        </table>
    </div>

    <div class="row" style="margin-left: 10%;">
        <div class="pull-left" style="display:inline-flex;">
            <span id="total"></span>
            <span style="margin-left:5px;">每页显示
            <select id="forPage">
                <option value="5">5</option>
                <option value="10">10</option>
                <option value="20">20</option>
                <option value="50">50</option>
                <option value="100">100</option>
            </select>
            条记录</span>
        </div>
        <div id="page1" class="pull-right"></div>
    </div>

        <div id="dbgz_page" class="M-box3" style="margin-right:10%">

    </div>
</div>




</div>
</body>
<script type="text/javascript">
    var years = '<option value="" >请选择年份</option>';
    for(var lastYear = parseInt(new Date().getFullYear()+4),oldYear = 2016;lastYear>oldYear;lastYear--){
        years += '<option value="'+lastYear+'" >'+lastYear+'</option>'
    }
    $('#year').html(years);
    var yearss = new Date().getFullYear();
    $('#year').val(yearss);

    $('#u631 select').deptSelect()



    var indexValue;
    var chooseValue =function(){
        var obj = document.getElementById("forPage");
        var sele = obj.options;
        obj.onchange = function(){
            var index = obj.selectedIndex;
            indexValue = sele[index].value
            var u_input = $('#u641 option:selected').attr('budgetid')
            var Begintime = $('#budgetItemBegintime').val();
            var Endtime = $('#budgetItemEndtime').val();
            var cuter = $('#u650_input').attr('user_id') ? $('#u650_input').attr('user_id') : "";
            var dparment = $("#u631 option:selected").val();


            var ajaxPage={
                data:{
                    page:1,//当前处于第几页
                    pageSize:indexValue,//一页显示几条
                    useFlag:true,
                    budgetItemId: u_input,
                    applicantBeginTime: Begintime,
                    applicantEndTime: Endtime,
                    applicant: cuter,
                    deptId: dparment
                },
                page:function (){
                    var me=this;
                    $('#uploadTable tbody').html('');
                    layer.msg('加载中', {
                        icon: 16
                        ,shade: 0.01
                    });
                    $.post('/budget/selStatement1',me.data,function (json) {
                        var str='';
                        var arr=json.obj;
                        for(var i=0;i<arr.length;i++){
                            var item = arr[i];
                            var lineNo = arr[i].lineNo.split(',').join('')
                            str+= '<tr budgetId="'+item.budgetId+'" indata="'+item.inputTime+'">'+
                                '<td class="th3" title="'+undefindData(item.runId)+'">'+undefindData(item.runId)+'</td>'+
                                '<td class="th4" title='+undefindData(item.runName)+'><a style="color:rgb(43, 127, 224)" href="/workflow/work/workformPreView?flowId='+item.flowId+'&tableName=budget&runId='+item.runId+'"target="_blank">'+undefindData(item.runName)+'</a></td>'+
                                '<td class="th5" title='+undefindData(item.budgetItemName)+'><a style="color:rgb(43, 127, 224)" class="itemDetails" href="javascript:;">'+undefindData(item.budgetItemName)+'</a></td>'+
                                '<td class="th6" title='+undefindData(lineNo)+'>'+undefindData(lineNo)+'</td>'+
                                '<td class="th7" title='+undefindZeroData(item.actualExpenditure)+'>'+undefindZeroData(item.actualExpenditure)+'</td>'+
                                '<td class="th7" title='+undefindZeroData(item.allAdvance)+'>'+undefindZeroData(item.allAdvance)+'</td>'+
                                '<td class="th6" title='+undefindData(item.applicant)+'>'+undefindData(item.applicant)+'</td>'+
                                '<td class="th6" title='+undefindData(item.deptName)+'>'+undefindData(item.deptName)+'</td>'+
                                '<td class="th6" title='+undefindData(item.status)+'>'+undefindData(item.status)+'</td>'+
                                '<td class="th6"><a href="/workflow/work/workformPreView?flowId='+item.flowId+'&tableName=budget&runId='+item.runId+'"target="_blank">查看详情</a></td>'+
                                //                                                        '<td><a class="mingxi" href="javascript:;">填报明细 </a> <a href="javascript:;" class="bianji">编辑 </a> <a href="javascript:;" class="del" >删除 </a></td>'+
                                '</tr>'
                        }

                        $('#uploadTable tbody').html(str);
                        layer.closeAll();
                        me.pageTwo(json.totleNum,me.data.pageSize,me.data.page)
                    },'json')
                },


                pageTwo:function (totalData, pageSize,indexs) {
                    var mes=this;
                    $('#dbgz_page').pagination({
                        totalData: totalData,
                        showData: pageSize,
                        prevContent:'上一页',
                        nextContent:'下一页',
                        jump: true,
                        coping: true,
                        homePage:'',
                        endPage: '',
                        current:indexs||1,
                        callback: function (index) {
                            mes.data.page=index.getCurrent();
                            mes.page();
                        }
                    });
                }

            }
            ajaxPage.page();
        }
    }
    chooseValue()
    function undefindData(data) {
        if(data == undefined){
            return '';
        }else{
            return data;
        }
    }
    function undefindZeroData(data){
        if(data == undefined){
            return '0';
        }else if(data == ''){
            return '0';
        } else {
            return data;
        }
    }
    $.ajax({
        type:'get',
        url:'/budget/selAllBudget',
        dataType:'json',
        success:function(res){
            var str='';
            var str1='';
            var arr = res.obj;
            if(res){
                for (var i = 0; i < arr.length; i++) {
                    var item = arr[i];
                    str +=
                        '<option budgetId = "'+undefindData(item.budgetId)+'">'+undefindData(item.lineNo)+'--' + undefindData(item.budgetItemName) + '</option>'
                }
                $('#u641 select').append(str)
            }

        }
    })
    // $.ajax({
    //     type:'get',
    //     url:'/department/getChDeptfq?deptId=0',
    //     dataType:'json',
    //     success:function(res){
    //         var str1='';
    //         var arr = res.obj;
    //         if(res){
    //
    //             for (var i = 0; i < arr.length; i++) {
    //                 var item = arr[i];
    //                 str1 += '<option value="'+undefindData(item.deptId)+'">' + undefindData(item.deptName) + '</option>'
    //             }
    //             $('#u631 select').append(str1)
    //         }
    //
    //     }
    // })
    $('#inport').click(function(){
        layer.open({
            type:1,
            title: ['预算项目信息导入', 'background-color:#2b7fe0;color:#fff;'],
            area: ['600px', '420px'],
            btn: ['导入', '取消'],
            content:'<div>' +
            '<form class="form1" name="form1" id="uploadForm" method="post" action="/budget/importBudgetItem" enctype="multipart/form-data">' +
            '<table class="importTable"> ' +
            '<tr><td style="width: 100px;">下载导入模板：</td><td style="text-align: left;"><a id="model" style="cursor:pointer;text-decoration: underline;color: blue;">预算项目信息模板下载</a></td></tr>' +
            '<tr> <td>选择导入文件：</td> <td><input style="width: auto" type="file" name="file"/></td> </tr>' +
            '<tr>' +
            '<td>说明：</td>'+
            '<td style="text-align: left;"><p style="margin-left: 8px">1、请导入.xls文件</p>'+

            ' </td> ' +
            '</tr>' +
            '</table>' +
            '</form>' +
            '</div>',
            success:function(){
                $('#model').click(function () {
                    window.location.href = encodeURI("/file/budget/预算项目导入模板.xls");
                });
            },
            yes:function(obj){
                var flag = CheckForm();
                if (flag) {
                    layer.msg("正在导入中，请耐心等候", {icon: 1});
                    $.upload($('#uploadForm'), function (res) {
                        if(res.flag) {
                            layer.msg("导入成功", {icon: 1});
                        }else{
                            layer.msg("导入失败", {icon: 2});
                        }
                    });

                    layer.closeAll();
                }
            }
        })
    })
    function bbData(data) {
        if (data == undefined) {
            return '暂无';
        } else {
            return data;
        }
    }
    function CheckForm(){
        if(document.form1.file.value==""){
            layer.msg("请导入至少一条数据！",{icon:2});
            return (false);
        }
        return (true);
    }
    $(function(){
        // 项目名称选择事件 selBudgetItemById
        $('#u641 select[name="type"]').change(function () {
            var budgetId = $(this).find("option:selected").attr("budgetId");
            if(budgetId!=""&&budgetId!=undefined){
                $('.itemDetail').show();
                $('.itemDetail').attr('budgetId',budgetId)
            }else{
                $('.itemDetail').hide();
                $('.itemDetail').attr('budgetId','')
            }

            $.ajax({
                type:'get',
                url:'/budget/selBudgetItemById',
                dataType:'json',
                data:{
                    budgetId:budgetId
                },
                success:function(res){
                    if(res.flag){
                        var obj = res.object;
                        $('#budgetItemBegintime').val(obj.budgetItemBegindate)
                        $('#budgetItemEndtime').val(obj.budgetItemEnddate)
                        // $('#u631 select').val(obj.deptId)
//                        $('#u650_input').val(obj.itemExecuter)
                    }
                }
            })

        })
        $('.itemDetail').click(function(){
            var budgetId = $(this).attr('budgetId');
            $.popWindow("/budget/newjournal1?budgetId="+budgetId,"","","",'1000');
        })
        $(document).on('click','.itemDetails',function(){
            var budgetId = $(this).parents('tr').attr('budgetId');
            $.popWindow("/budget/newjournal1?budgetId="+budgetId,"","","",'1000');
        })

        $('.new').click(function(){
            window.location.href='/budget/newBudget?type=1';
        })
        $('table').on('click','.bianji',function(){
            var budgetId=$(this).parent().parent().attr('budgetId')
            window.location.href='/budget/newBudget?type=2&&budgetId='+budgetId;
        })

        $('table').on('click','.mingxi',function(){
            var budgetId=$(this).parent().parent().attr('budgetId')
            window.location.href='/budget/newBudget?type=3&&budgetId='+budgetId;
        })
        var ajaxPage={
            data:{
                page:1,//当前处于第几页
                pageSize:5,//一页显示几条
                useFlag:true,
                applicant:""
            },
            page:function (){
                var me=this;
                $('#uploadTable tbody').html('');
                layer.msg('加载中', {
                    icon: 16
                    ,shade: 0.01
                });
                $.post('/budget/selStatement1',me.data,function (json) {
                    var str='';
                    var arr=json.obj;
                    for(var i=0;i<arr.length;i++){
                        var item = arr[i];
                        var lineNo = arr[i].lineNo.split(',').join('')
                        str+= '<tr budgetId="'+item.budgetId+'" indata="'+item.inputTime+'">'+
                            '<td class="th3" title="'+undefindData(item.runId)+'">'+undefindData(item.runId)+'</td>'+
                            '<td class="th4" title='+undefindData(item.runName)+'><a href="/workflow/work/workformPreView?flowId='+item.flowId+'&tableName=budget&runId='+item.runId+'"target="_blank">'+undefindData(item.runName)+'</a></td>'+
                            '<td class="th5" title='+undefindData(item.budgetItemName)+'><a style="color:rgb(43, 127, 224)" class="itemDetails" href="javascript:;">'+undefindData(item.budgetItemName)+'</a></td>'+
                            '<td class="th6" title='+undefindData(lineNo)+'>'+undefindData(lineNo)+'</td>'+
                            '<td class="th7" title='+undefindZeroData(item.actualExpenditure)+'>'+undefindZeroData(item.actualExpenditure)+'</td>'+
                            '<td class="th7" title='+undefindZeroData(item.allAdvance)+'>'+undefindZeroData(item.allAdvance)+'</td>'+
                            '<td class="th6" title='+undefindData(item.applicant)+'>'+undefindData(item.applicant)+'</td>'+
                            '<td class="th6" title='+undefindData(item.deptName)+'>'+undefindData(item.deptName)+'</td>'+
                            '<td class="th6" title='+undefindData(item.status)+'>'+undefindData(item.status)+'</td>'+
                            '<td class="th6"><a href="/workflow/work/workformPreView?flowId='+item.flowId+'&tableName=budget&runId='+item.runId+'"target="_blank">查看详情</a></td>'+
                            //                                                        '<td><a class="mingxi" href="javascript:;">填报明细 </a> <a href="javascript:;" class="bianji">编辑 </a> <a href="javascript:;" class="del" >删除 </a></td>'+
                            '</tr>'
                    }

                    $('#uploadTable tbody').html(str);
                    layer.closeAll();
                    me.pageTwo(json.totleNum,me.data.pageSize,me.data.page)
                },'json')
            },


            pageTwo:function (totalData, pageSize,indexs) {
                var mes=this;
                $('#dbgz_page').pagination({
                    totalData: totalData,
                    showData: pageSize,
                    prevContent:'上一页',
                    nextContent:'下一页',
                    jump: true,
                    coping: true,
                    homePage:'',
                    endPage: '',
                    current:indexs||1,
                    callback: function (index) {
                        mes.data.page=index.getCurrent();
                        mes.page();
                    }
                });
            }

        }
        ajaxPage.page();

        $('table').on('click','.del',function(){
            var budgetId=$(this).parent().parent().attr('budgetId')
            var budgetItemName=$(this).parent().parent().children().eq(3).html()
            var writerName = $(this).parent().parent().attr('indata')
            layer.open({
                type: 1,
                title: ['提示','background-color:#2e8ded;color:#fff'],
                content:'<div style="text-align: center;margin-top: 18px;">确认删除吗？</div>',
                area: ['200px', '160px'],
                btn: ['确认','取消'],
                yes:function(index){
                    $.ajax({
                        url:'/budget/delBudgetItemById',
                        type:'post',
                        data:{
                            'budgetId':budgetId,
                            'budgetItemName':budgetItemName,
                            'inputTime':writerName
                        },
                        dataType:'json',
                        success:function(res){
                            layer.close(index)
                            if(res){
                                layer.msg("删除成功",{
                                    icon: 1,
                                    time: 1500 //2秒关闭（如果不配置，默认是3秒）
                                },function(){
                                    location.href="/budget/budgetItemManage"
                                })
                            }else {
                                layer.msg("删除失败",{
                                    icon: 2,
                                    time: 1500 //2秒关闭（如果不配置，默认是3秒）
                                },function(){
                                    location.href="/budget/budgetItemManage"
                                })
                            }
                        }
                    })
                },
                btn2: function (index) {
                    layer.close(index)
                },
                btnAlign:'c',

            })
        });
//      权限设置
//      $('.quanx').click(function () {
//          $('.foot').css('display','block')
//      });

        $('.quanx').on('click',function () {
            layer.open({
                type: 1,
                title: ['预算管理日志权限设置', 'background-color:#2b7fe0;color:#fff;'],
//            area: ['500px', '460px'],
                area: ['60%', '70%'],
                shadeClose: false, //点击遮罩关闭
                btn: ['保存', '取消'],
                content: '<div class="foot">' +
                '<p>预算管理日志权限设置</p>' +
                '<ul>' +

                '<li>' +
                '<span>人员：&emsp;&emsp;&emsp;&emsp;</span>' +
                '<span style="position: relative;">' +
                '<input disabled class="td_title1 release1" id="query_toId" type="text" username="">' +
                '<a href="javascript:;" class=" ml8 userPrivAdd userAdd" name="orgAdd">添加</a>' +
                '<a href="javascript:;" class=" ml8 userPrivClear userClear" name="orgClear">重置</a>' +
                '</span>' +
                '</li>' +
                '<li>' +
                '<span>角色：&emsp;&emsp;&emsp;&emsp;</span>' +
                '<span style="position: relative;">' +
                '<input disabled type="text" name="userPriv" id="userPrivInput"  class="BigInput" value="" privid="" userpriv="">' +
                '<a href="javascript:;" class="ml8 userPrivAdd privAdd" name="orgAdd" >添加</a>' +
                '<a href="javascript:;" class="ml8 userPrivClear privClear" name="orgClear">重置</a>' +
                '</span>' +
                '</li>' +

                '</ul>' +
                '</div>',
//            保存按钮事件
                yes:function (index) {
                    var data={
                        userIds:$("#query_toId").attr("user_id"),
                        userPrivIds:$("#userPrivInput").attr("privid"),
//                    flowId:$("#department").val(),
                        flowId:$('input:checkbox[name="rz"]:checked').val(),
                        documentType:0,
                        dispatchType:'documentDecision',
                        fflowId:$('input:checkbox[name="rz"]:checked').val(),
                        frunId:'',
                        fprcsId:1,
                        fflowStep:1,
                        useFlag:true
                    };
                    newDocument(data,function(json){
                        if(json.flag){
                            location.reload();
//                          window.open('/documentCenter/handleMain/window?flowId='+json.object.flowId+'&flowStep=1&tableName=document&tabId='+json.object.id+'&runId='+json.object.runId+'&prcsId=1&isNomalType=false')
//                          window.open('budget/upBudgetLogSet')

                            layer.msg("保存成功",{
                                icon: 1,
                                time: 1500 //2秒关闭（如果不配置，默认是3秒）
                            },function(){
                                window.location.reload();
                            });

                        }else {
                            alert("保存失败");
                        }
                        layer.close(index);
                    });

                },

                success:function () {


                    // 获取人员信息控件
                    $(".userAdd").on("click", function (){
                        user_id = "query_toId";
                        $.popWindow("../common/selectUser");
                    });
                    // 清空人员信息
                    $('.userClear').click(function () {
                        $('#query_toId').attr("privid", "");
                        $('#query_toId').attr("userpriv", "");
                        // $('#query_toId').val("");
                        $.ajax({
                            url:'/budget/delBudgetLog',
                            type:'post',

                            dataType:'json',
                            success:function(result){
                                if(result.msg=='ok'){
                                    layer.msg("取消成功",{
                                        icon: 1,
                                        time: 1500 //2秒关闭（如果不配置，默认是3秒）
                                    },function(){
                                        window.location.reload();
                                    });

                                }

                            },
                            error:function(){

                            }
                        });
                    });
                    //获取角色信息控件
                    $(".privAdd").on("click", function (){
                        priv_id = "userPrivInput";
                        $.popWindow("../common/selectPriv");
                    });
                    // 清空角色信息
                    $('.privClear').click(function () {
                        $('#userPrivInput').attr("privid", "");
                        $('#userPrivInput').attr("userpriv", "");
                        $('#userPrivInput').val("");
                    });
                    //取消权限
                    $('.cancelQx').click(function () {
                        $.ajax({
                            url:'/budget/delBudgetLog',
                            type:'post',

                            dataType:'json',
                            success:function(result){
                                if(result.msg=='ok'){
                                    layer.msg("取消成功",{
                                        icon: 1,
                                        time: 1500 //2秒关闭（如果不配置，默认是3秒）
                                    },function(){
                                        window.location.reload();
                                    });

                                }

                            },
                            error:function(){

                            }
                        });
                    });
                }
            });


            $.ajax({
                type:'get',
                url:'/budget/selBudgetLogSet',
                dataType:'json',
                success:function(res){
                    var str=''
                    if(res){
                        var i =0;


                        $.each(res.obj,function(index,item){

                            var str ="";
                            $.each(res.obj, function (index, obj) {
                                str +=obj.userName+',';
                                $("#query_toId").val(str)
                            });

                            if(item.budgetLogSet==0){
                                $('.quanx').css('display','inline-block')
                            }
                        })
                        $('table').append(str)
                    }

                }
            })



        });

        function newDocument(data,resultFn) {
            $.ajax({
//              url:'/document/saveDoc',
                url:'/budget/upBudgetLogSet',
                type:'post',
                data:data,
                dataType:'json',
                success:function(result){
                    resultFn(result)
                },
                error:function(){

                }
            });
        } //end for newDocument
//      导出

        $("#outport").click(function(){
            window.location.href="<%=basePath%>/budget/outputBudgetItem";
        })

    })
    $('.add4').click(function(){
        user_id='u650_input';
        $.popWindow("../../common/selectUser?0");
    })
    $('.clear').click(function () {
        $('#u650_input').attr("userName", "");
        $('#u650_input').attr("user_id", "");
        $('#u650_input').val("");
    });
    $('#u518_input').on('click',function() {
        var u_input = $('#u641 option:selected').attr('budgetid')
        var Begintime = $('#budgetItemBegintime').val();
        var Endtime = $('#budgetItemEndtime').val();
        var cuter = $('#u650_input').attr('user_id') ? $('#u650_input').attr('user_id') : "";
        var dparment = $("#u631 option:selected").val();
        var year = $('#year').val()
        var ajaxPage = {
            data: {
                page: 1,//当前处于第几页
                pageSize: $('#forPage').val(),//一页显示几条
                useFlag: true,
                budgetItemId: u_input,
                applicantBeginTime: Begintime,
                applicantEndTime: Endtime,
                applicant: cuter,
                deptId: dparment,
                year:year
            },
            page: function () {
                var me = this;
                $('#uploadTable tbody').html('');
                layer.msg('加载中', {
                    icon: 16
                    ,shade: 0.01
                });
                $.post('/budget/selStatement1', me.data, function (json) {
                    var str = '';
                    var arr = json.obj;
                    if(arr.length){
                        for (var i = 0; i < arr.length; i++) {
                            var item = arr[i];
                            var lineNo = arr[i].lineNo.split(',').join('')
                            str += '<tr budgetId="' + item.budgetId + '" indata="' + item.inputTime + '">' +
                                '<td class="th3" title="' + undefindData(item.runId) + '">' + undefindData(item.runId) + '</td>' +
                                '<td class="th4" title=' + undefindData(item.runName) + '><a style="color:rgb(43, 127, 224)" href="/workflow/work/workformPreView?flowId='+item.flowId+'&tableName=budget&runId='+item.runId+'"target="_blank">'+undefindData(item.runName)+'</a></td>' +
                                '<td class="th5" title=' + undefindData(item.budgetItemName) + '><a style="color:rgb(43, 127, 224)" class="itemDetails" href="javascript:;">'+undefindData(item.budgetItemName)+'</a></td>' +
                                '<td class="th6" title=' + undefindData(lineNo) + '>' + undefindData(lineNo) + '</td>' +
                                '<td class="th7" title=' + undefindZeroData(item.actualExpenditure) + '>' + undefindZeroData(item.actualExpenditure) + '</td>' +
                                '<td class="th7" title='+undefindZeroData(item.allAdvance)+'>'+undefindZeroData(item.allAdvance)+'</td>'+
                                '<td class="th6" title=' + undefindData(item.applicant) + '>' + undefindData(item.applicant) + '</td>' +
                                '<td class="th6" title=' + undefindData(item.deptName) + '>' + undefindData(item.deptName) + '</td>' +
                                '<td class="th6" title='+undefindData(item.status)+'>'+undefindData(item.status)+'</td>'+
                                '<td class="th6" ><a href="/workflow/work/workformPreView?flowId=' + item.flowId +'&tableName=budget&runId=' + item.runId +'"target="_blank">查看详情</a></td>' +
                                //                                                        '<td><a class="mingxi" href="javascript:;">填报明细 </a> <a href="javascript:;" class="bianji">编辑 </a> <a href="javascript:;" class="del" >删除 </a></td>'+
                                '</tr>'
                        }

                        $('#uploadTable tbody').html(str);
                        layer.closeAll();
                        me.pageTwo(json.totleNum, me.data.pageSize, me.data.page)
                    }else{
                        /*$('#uploadTable tbody').html('<span class="content">暂无数据。。。<span>');*/
                        layer.msg("暂无数据", {icon: 2})
                        me.pageTwo(json.totleNum, me.data.pageSize, me.data.page)
                    }

                }, 'json')
            },
            pageTwo: function (totalData, pageSize, indexs) {
                var mes = this;
                $('#dbgz_page').pagination({
                    totalData: totalData,
                    showData: pageSize,
                    prevContent:'上一页',
                    nextContent:'下一页',
                    jump: true,
                    coping: true,
                    homePage: '',
                    endPage: '',
                    current: indexs || 1,
                    callback: function (index) {
                        mes.data.page = index.getCurrent();
                        mes.page();
                    }
                });
            }

        }
        ajaxPage.page();
    })
    $("#u519_input").click(function(){
        var u_input  =$('#u641').find('select option:selected').attr('budgetid');
        // alert(u_input)
        /* var u_input  =$('#u641_input').val();*/
        var Begintime=$('#budgetItemBegintime').val();
        var Endtime  =$('#budgetItemEndtime').val( );
        var  cuter =$('#u650_input').attr('user_id');
        var dparment=$("#u631 option:selected").val();
        var year = $('#year').val()

        // if(cuter!="undefined"){
            window.location.href="<%=basePath%>/budget/outputStatement?budgetId="+handle(u_input)+"&applicantBeginTime="+handle(Begintime)+"&applicantEndTime="+handle(Endtime)+"&applicant="+handle(cuter)
                +"&deptId="+handle(dparment)+'&year'+handle(year);
        // }

    })

    function handle(str){
        return str === undefined?'':str;
    }

</script>
</html>